package com.atguigu.gmall.product.mapper;

import com.atguigu.gmall.model.product.BaseCategory1;
import com.atguigu.gmall.model.product.BaseCategoryView;
import com.atguigu.gmall.model.rpc.product.BaseCategory;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface BaseCategory1Mapper extends BaseMapper<BaseCategory1> {


    List<BaseCategory> getAllCategoryForIndexPage();


    BaseCategoryView getCategoryPathBySkuId(@Param("skuId") Long skuId);
}
